package org.qfedu.framwork.autoconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xiaobobo
 * @title: NetworkServiceProperties
 * @projectName CD-Java-FY-2401-Springboot-Parent
 * @description: TODO
 * @date 2024/9/10  9:25
 */
@ConfigurationProperties(prefix = "qf.net.service")
public class NetworkServiceProperties {

    //ip地址
    private String host="127.0.0.1";

    //端口
    private Integer port=6379;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
